package by.home.listeners;


import by.home.ChatServiceInterface;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

public class OnlineOfflineListener implements HttpSessionListener {

  private ChatServiceInterface chatService;

  @Override
  public void sessionCreated(HttpSessionEvent se) {
  }

  @Override
  public void sessionDestroyed(HttpSessionEvent se) {
  }

  public ChatServiceInterface getChatService() {
    return chatService;
  }

  public void setChatService(ChatServiceInterface chatService) {
    this.chatService = chatService;
  }
}
